package com.yida.gwj.api.domain;

import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 业务字典数据对象 gwj_conf_dict_data
 *
 * @author ruoyi
 * @date 2023-02-28
 */
@ApiModel("业务字典数据")
public class GwjConfDictData extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 字典编码
     */
    @ApiModelProperty("字典编码")
    private Long dictCode;

    /**
     * 字典标签
     */
    @ApiModelProperty("字典标签")
    private String dictLabel;

    /**
     * 字典键值
     */
    @ApiModelProperty("字典键值")
    private String dictValue;

    /**
     * 字典类型
     */
    @ApiModelProperty("字典类型")
    private String dictType;

    /**
     * 字典排序
     */
    @ApiModelProperty("字典排序")
    private Long dictSort;

    /**
     * 状态（0正常 1停用）
     */
    @ApiModelProperty("状态")
    private Integer status;

    /**
     * 是否默认（0否 1是）
     */
    @ApiModelProperty("是否默认")
    private Integer defaultFlag;

    public void setDictCode(Long dictCode) {
        this.dictCode = dictCode;
    }

    public Long getDictCode() {
        return dictCode;
    }

    public void setDictLabel(String dictLabel) {
        this.dictLabel = dictLabel;
    }

    public String getDictLabel() {
        return dictLabel;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictType(String dictType) {
        this.dictType = dictType;
    }

    public String getDictType() {
        return dictType;
    }

    public void setDictSort(Long dictSort) {
        this.dictSort = dictSort;
    }

    public Long getDictSort() {
        return dictSort;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setDefaultFlag(Integer defaultFlag) {
        this.defaultFlag = defaultFlag;
    }

    public Integer getDefaultFlag() {
        return defaultFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("dictCode", getDictCode()).append("dictLabel", getDictLabel()).append("dictValue", getDictValue()).append("dictType", getDictType()).append("dictSort", getDictSort()).append("status", getStatus()).append("defaultFlag", getDefaultFlag()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("remark", getRemark()).toString();
    }
}
